import {reactive, ref} from "vue";
import http from "../utils/http";

const articles = reactive({
    articlesForm: {
        content: "",
        is_show:"1",
        article_imgs: '',
        user: ""

    },
    uploadDialogVisible: false,
    avatar:'',
    is_img: '',

    addArticle() {
        return http.post('/articles/add/', this.articlesForm)
    }
})

export default articles;